<template>
  <div class="panel-body">
    <h2>老师内容</h2>
  </div>
</template>

<script>
export default {
  name: "Teacher",
  beforeMount() {
    console.log('挂载之前')
  },
  mounted() {
    console.log('挂载完成')
  },
  beforeDestroy() {
    console.log('这个组件要销毁')
  },
  destroyed() {
    console.log('老师组件销毁了')
  }
}
</script>

<style scoped>

</style>
